
package pe.pucp.netbeans.common.util;

import java.io.InputStream;
import javax.swing.JOptionPane;

/**
 *
 * @author Diego
 */
public class MessageReaderThread extends ReaderThread{
    public MessageReaderThread(InputStream is) {
        super(is);
    }
    @Override
    protected String nuevaEntrada(String entrada) {
        JOptionPane.showMessageDialog(null, entrada, "Error:"+entrada, JOptionPane.ERROR_MESSAGE);
        return null;
    }

}
